package com.lovo.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lovo.dao.IUserDAO;
import com.lovo.model.DOS.UserDO;
import com.lovo.service.IUserService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * Description:
 *
 * @author LiuChengQi
 * @date Created on 2020/11/24
 */
@Service
public class UserServiceImpl extends ServiceImpl<IUserDAO, UserDO> implements IUserService {

    @Resource
    private IUserDAO dao;
    @Override
    public List<UserDO> selectByPhone(String loginName) {
        return dao.selectByPhone(loginName);
    }
}
